package com.syt.client.hospital;

import com.syt.vo.hospital.ScheduleOrderVo;
import com.syt.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: xxx
 * @Date: 2023/2/26 21:35
 * @Description: 医院接口
 */
@Service
@FeignClient("service-hospital")
@RequestMapping("/api/hospital")
public interface HospitalFeignClient {

    //"获取医院签名信息"
    @GetMapping("/inner/getSignInfoVo/{hoscode}")
    public SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);

    //根据排班id获取预约下单数据
    @GetMapping("/inner/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);
}
